package cn.candy.order.controller;

import cn.candy.basic.util.PageList;
import cn.candy.order.domain.PetAcquisitionOrder;
import cn.candy.order.query.PetAcquisitionOrderQuery;
import cn.candy.order.service.IPetAcquisitionOrderService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 宠物收购订单接口类
 */
@RestController
@RequestMapping("/petAcquisitionOrder")
@Api(tags = "收购订单接口类",description = "收购订单接口详细描述")
public class PetAcquisitionOrderController {

    @Autowired
    private IPetAcquisitionOrderService petAcquisitionOrderService;

    /**
     * 收购订单分页接口 - 未实现
     * @param query
     * @return
     */
    @PostMapping
    @ApiOperation(value = "收购订单分页接口",notes = "")
    public PageList<PetAcquisitionOrder> list(@RequestBody PetAcquisitionOrderQuery query){
        return  null;
    }
}
